
<section class="edit-map wrapper {if $card_id}default-hidden{/if}" id="edit_base">
    <div class="form-group m-b-xs">
        <label for="title" class="col-sm-2 control-label"><font class="red">* </font>案件名称</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="title" name="title" value="{$content.title}" placeholder="请输入案件名称" />
        </div>
    </div>
    <div class="line line-dashed pull-in"></div>
    
    <div class="form-group m-b-xs">
        <label class="col-sm-2 control-label"><font class="red">* </font>立案日期</label>
        <div class="col-sm-4">
            <input id="tte" name="tte" class="form-control datepicker-input" type="text" 
                    data-date-format="yyyy-mm-dd" value="{$content.tte}" placeholder="点击选择立案日期" readonly="readonly" />
        </div>
        
        {if false}
        <label class="col-sm-2 control-label"><font class="red">* </font>案件类型</label>
        <div class="col-sm-4">
            <input type="hidden" class="select2-tags" name="category_name" id="category_name" style="width:100%;" 
                    value="{$content.category_name}" placeholder="&nbsp;&nbsp;请输入或选择案件类型" />
        </div>
        {/if}
        
        <label class="col-sm-2 control-label"><font class="red">* </font>案件类型</label>
        <div class="col-sm-4">
            <select class="form-control" name="category_name" id="category_name">
                <option value="0">请选择案件类型</option>
                {if $categories}
                {foreach from=$categories item=v}
                <option value="{$v.title}" {if $v.title == $content.category_name}selected{/if}>{$v.title}</option>
                {/foreach}
                {/if}
            </select>
        </div>
    </div>
    <div class="line line-dashed pull-in"></div>
    
    <div class="form-group m-b-xs">
        <label for="respondent" class="col-sm-2 control-label"><font class="red">* </font>调查对象</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="respondent" name="respondent" value="{$content.respondent}" placeholder="请输入调查对象" />
        </div>
        
        {if false}
        <label class="col-sm-2 control-label"><font class="red">* </font>承办部门</label>
        <div class="col-sm-4">
            <input type="hidden" class="select2-tags" name="department_name" id="department_name" style="width:100%;" 
                    value="{$content.department_name}" placeholder="&nbsp;&nbsp;请输入或选择承办部门" />
        </div>
        {/if}
        
        <label class="col-sm-2 control-label"><font class="red">* </font>承办部门</label>
        <div class="col-sm-4">
            <select class="form-control" name="department_name" id="department_name">
                <option value="0">请选择案件类型</option>
                {if $departments}
                {foreach from=$departments item=v}
                <option value="{$v.department_name}" {if $v.department_name == $content.department_name}selected{/if}>{$v.department_name}</option>
                {/foreach}
                {/if}
            </select>
        </div>
    </div>
    <div class="line line-dashed pull-in"></div>
    
    <div class="form-group m-b-xs">
        <label class="col-sm-2 control-label">案件标签</label>
        <div class="col-sm-8">
            <input type="hidden" class="select2-tags archive-label" name="label" style="width:100%;" 
                    value="{$content.label}" placeholder="  请输入或选择案件标签" />
        </div>
    </div>
    <div class="line line-dashed pull-in"></div>
    
    <div class="form-group m-b-xs">
        <label for="description" class="col-sm-2 control-label">案件简介</label>
        <div class="col-sm-8">
            <textarea name="description" id="description" rows="5" class="form-control" placeholder="请输入案件简介">{$content.description}</textarea>
        </div>
    </div>
</section>
